import { request } from './request'

export function qrcodeKeyVisb () {
  return request({
    url: '/login/qr/key'
  })
}

export function createQrCode (key, qrimg) {
  return request({
    url: '/login/qr/create',
    params: {
      key,
      qrimg
    }
  })
}

//  密码和手机登录
export function getPhoneLogin (phone, password) {
  return request({
    url: '/login/cellphone',
    params: {
      phone,
      password
    }
  })
}
